Small Specifications for Tree Update

نویسندگان

  • Philippa Gardner
  • Mark J. Wheelhouse
چکیده

O’Hearn, Reynolds and Yang introduced Separation Logic to providemodular reasoning about simple,mutable data structures inmemory. They were able to construct small specifications of programs, by reasoning about the local parts of memory accessed by programs. Gardner, Calcagno and Zarfaty generalised this work, introducing Context Logic to reasonaboutmore complex data structures. Inparticular, theydeveloped a formal, compositional specification of the DocumentObjectModel, aW3C XML update library. Whilst keeping to the spirit of local reasoning, they were not able to retain small specifications. We introduce Segment Logic, which provides a more fine-grained analysis of the tree structure and yields small specifications. As well as being aesthetically pleasing, small specifications are important for reasoning about concurrent tree update.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automatic Functional Correctness Proofs for Functional Search Trees

In a new approach, functional correctness specifications of insert/update and delete operations on search trees are expressed on the level of lists by means of an inorder traversal function that projects trees to lists. With the help of a small lemma library, functional correctness and preservation of the search tree property are proved automatically (in Isabelle/HOL) for a range of data struct...

متن کامل

Segment logic

O’Hearn, Reynolds and Yang introduced local Hoare reasoning about mutable data structures using separation logic. They reason about the local parts of the memory accessed by programs, and thus construct their smallest complete specifications. Gardner et al. generalised their work, using context logic to reason about structured data at the same level of abstraction as the data itself. In particu...

متن کامل

Update on HCV genotypes among Iranian blood donors

Abstract Background and Objectives Hepatitis C (HCV) infection is one of the main causes of chronic hepatitis diseases all over the world. HCV is a transfusion transmitted virus and a serious threat to general health. HCV genotyping has an important role in tracing routes of infection. This study aimed at investigating the changes in  distribution pattern of HCV genotypes among Iranian blood d...

متن کامل

INTERNET - DRAFT TBRPF 2 March

Topology Broadcast based on Reverse-Path Forwarding (TBRPF) is a proactive, link-state routing protocol designed for use in mobile ad-hoc networks. TBRPF has two modes: full topology (FT) and partial topology (PT). TBRPF-FT uses the concept of reverse-path forwarding to reliably and efficiently broadcast each topology update in the reverse direction along the dynamically changing broadcast tree...

متن کامل

Supervisory Control of Discrete Event Systems with CTL* Temporal Logic Specifications

The supervisory control problem of discrete event systems with temporal logic specifications is studied. The full branching time logic of CTL* is used for expressing specifications of discrete event systems. The control problem of CTL* is reduced to the decision problem of CTL*. A small model theorem for the control of CTL* is obtained. It is shown that the control problem of CTL* (resp., CTL) ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009